<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>卖家-修改个人信息</title>
<link href="<?php echo $this->_webroot('/user/css/common.css'); ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_webroot('/user/css/content1.css'); ?>" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->_webroot('/user/js/jquery-1.7.1.min.js'); ?>" type="text/javascript"></script>
<script src="<?php echo $this->_webroot('/user/js/common.js'); ?>" type="text/javascript"></script>

</head>
<body>
<psp:tags     htmlname='user_topnav1'  iconname='usertopnav1' />
<psp:tags     htmlname='user_topsearch'  iconname='usertopsearch' />

<div class="main">
	<div class="main-left">
    	<div class="title">会员管理中心</div>
        <psp:tags     htmlname='user_menulist'  iconname='usermenulist' />
    </div>
    
    <div class="main-right">
    	<div class="tuikuan_title">
        	<span>会员级别购物介绍</span>
        </div>
		<!--
        <div class="tuikuan_info">
        	<div class="tuikuan_liu">待审批 > 已审批 > 退款中 > 退款成功</div>
            <p>待审批:退款申请已经提交，等待财务人员进行审批</p>
            <p>已审批:财务人员已经审批，等待支付</p>
            <p>退款中:爱搜货正在将退款支付给您收款账户所在的银行</p>
            <p>退款成功:款项已成功退回到您收款账户所在的银行，等待银行处理退款。请及时查询您的银行账户余额变动</p>
        </div>
		-->
        <div class="tuikuan_info_tishi" style="text-align: left;margin: 0px 0 0px 10px;">特别说明：如果想享用以下权限的话，请立即充值购买。</div>
        
        <div style="border-top: 2px solid #ADBADD;padding: 4px 2px 3px;"></div>
        
        <div class="tuikuan_list">
        	<table class="tuikuan_list_table">
            	<thead>
                	<tr>
                        <th width="315">级别名称</th>
                        <th width="330" style="text-align:left;">权限</th>
                        <th width="100">金额</th>
                        <th width="100">操作</th>
                    </tr>
                </thead>
                <tbody>
			<?php if($result) { $k=1;
				foreach($result as $value) { $value = $value['userrank']; $k++;?>				
                	<tr class="tk_colorbg<?php if($k%2==0) { echo '1';}else {echo '2';}?>">
                    	<td><?php echo $value['rank_name'];?></td>
                        <td style="text-align:left;"><?php echo $value['pri'];?></td>
                        <td>￥<?php echo $value['money']?>元</td>
                        <td >
						<?php if( $value['id']==$user['rank_id'] ) { ?>
                        <font color="red">已经购买</font>					
						<?php }else { ?>
						<a href="<?php echo $this->_url('account/dorank/'.$value['id']);?>"  onclick="return confirm('购买此服务会扣取您的账号余额，确认要购买服务吗?');" class="tk_export" >购买</a>
						<?php } ?>						    
						</td>
                    </tr>
				<?php }?>
			<?php }?>					

                </tbody>
            </table>
        </div>
        
    </div>
    <div class="clear"></div>
</div>


<div class="footer">
    <psp:tags     htmlname='user_footer_helper'  iconname='userfooterhelper' />

</div>
</body>
</html>